//监听消息事件
chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) {
    var content = request.cmd;
    if (content.length > 0) {
        sendResponse("send success");
        alert(content);
    }
});










